{% if results %}
<table id='usageHistory_table' class='stripeMe aslTable'>
    <caption>Search Results</caption>
    <tr>
	<th>Title</th>
	<th>Author</th>
	<th>Description</th>
	<th>Members count</th>
	<th>Entry count</th>
	<th>Status</th>
    </tr>
{% for set in results %}
<tr>
    <td><a class='setlink' href='{{baseURL}}/ajax/renderSet.html?setKey={{set.key}}'>{{ set.title }}</a></td>
    <td>{{ set.author }}</td>
    <td>{{ set.description }}</td>
    <td>{{ set.subscriptionCount }}</td>
    <td>{{ set.entryCount }}</td>
    <td>
	{% if set.current %}
	    Subscribed
	{% else %}
	<a class='resubscribe_link' href='{{baseURL}}/ajax/setSubscribe.html?setKey={{ set.key }}'>Subscribe</a>
	{% endif %}
    </td>
</tr>
{% endfor %}
</table>
{% else %}
    <p>We did not find any set matching your search term.</p>
{% endif %}
